package com.shoeshopping.utils.zx;

public class Result {
	public static final String SUCCESS = "success";
	public static final String ERROR = "error";
	public static final String LOGOUT = "logout";
	public static final String LOGIN = "login";
	public static final String LOGINTIMEOUT = "logintimeout";
	public static final String CHANGEPASSWPRD = "changepassword";
	public static final String EDIT = "edit";
	public static final String DETAILS = "details";
	public static final String ITEMLIST = "itemlist";
	
	private String data;
	private String result;
	
	public Result(String data, String result) {
		super();
		this.data = data;
		this.result = result;
	}

	public static Result success(){
		return new Result("操作成功",SUCCESS);
	}
}
